package com.think.teaching.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.think.teaching.model.ArticleType;
import com.think.teaching.model.NewsType;

import org.springframework.stereotype.Service;

/**
 * <p>
 * 资源类型 服务类
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
@Service
public interface NewsTypeService extends IService<NewsType> {
	// 管理员新增文章类型
	NewsType InsetNewsType(NewsType newsType);


	// 更新文章类型内容
	NewsType UpdateNewsType(NewsType newsType);

	// 查看文章类型详情
	NewsType UserSelectNewsType(Integer id, Boolean withoutBan);
	
	
	IPage<NewsType> ListNewsType(Integer page, Integer count, Boolean withoutBan);

	
	
}
